***Get manager and training variables***

clear
use "Data\Core_datasets\training_variable.dta"

keep pnr aar disco top_manager_before ever_top_manager top_manager training ever_training training_before ever_training_roc training_start_roc training_end_roc training_before_roc /*udd*/

sort pnr aar


collapse (first) disco top_manager_before ever_top_manager top_manager training ever_training training_before ever_training_roc training_start_roc training_end_roc training_before_roc, by(pnr aar) /*training_running*/

save "Data\manager_training.dta", replace

